#!/usr/bin/env python.
# -*- coding: utf-8 -*-
import wx
from core import Core
from core.event.mouseevent import MouseEvent
from outline import Outline
import core.ui.mainframe as auipane


class Extend():
    
    def __init__(self):
        self.id="OUTLINE_PANEL"
        self.name="Outline"
        self.win=None
        
        
    def enable(self):
        self.win=Outline()
        Core().getMainFrame().addPane(self.win,auipane.PANE_RIGHTPANEL)
        self.win.build()
    
    def disable(self):
        del self.win  

